package iotwisp.school.system.service;

import iotwisp.school.system.qo.CityQO;
import iotwisp.base.orm.BaseDao;
import org.hibernate.Criteria;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import iotwisp.school.system.entity.City;

@Service
@Transactional
public class CityService extends BaseDao<City, CityQO> {


	@Override
	protected Criteria buildCriteria(Criteria criteria, CityQO qo) {
		return criteria;
	}

	@Override
	protected Class<City> getEntityClass() {
		return City.class;
	}

}
